package com.jieyang.oa.dao;

import com.jieyang.oa.pojo.Vo.EmpInfoVo;
import com.jieyang.oa.pojo.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeDao {

    public List<Employee> selectLeader(Integer emptyPe);

    public Integer insert(Employee employee);

    public List<Employee> selectAll(Employee employee);

    public Integer count(Employee employee);

    public EmpInfoVo selectByEmpId(String empId);

    public Employee selectEmpByEmpId(String empId);

    public Integer update(Employee employee);

    public Integer delete(String empId);

    public Integer initPwd(String empId);
}
